const {exec} = require('child_process')

exec('node exec-child.js',(err,stdout,stderr)=>{
    if(err){
        console.log(err)
    }
    else{
        console.log(stdout)
    }
})